﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Delete;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJobSeeker
{
    public class ProcessDeleteJobSeekerAppliedJobs : IBusinessLogic
    {
        public bool IsDeleted { get; set; }
        public ProcessDeleteJobSeekerAppliedJobs() { }
        public DataTable AppliedJobToDisplay { get; set; }
        public void invoke()
        {
            DeleteAppliedJob deleteAppliedJob = new DeleteAppliedJob();
            deleteAppliedJob.AppliedJobToDisplay = this.AppliedJobToDisplay;
            deleteAppliedJob.invoke();
            IsDeleted = deleteAppliedJob.IsDeleted;
        }
    }
}
